package com.woniu.car.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class UpadateCommentByUserParam {

    @TableId(value = "comment_id", type = IdType.AUTO)
    @NotNull(message = "请选择评论")
    @Min(value = 1, message = "评论ID有误")
    @ApiModelProperty(value = "评论ID",example = "1")
    private Integer commentId;

    /**
     * 追加评论
     */
    @NotNull(message = "请填写追评内容")
    @ApiModelProperty(value = "追加评论")
    private String adddComment;


}
